package com.xebest.web.form;

import com.xebest.web.form.base.BaseForm;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author xebest
 */
public class XeVenStoreReceiptDetailForm extends BaseForm {
    private Integer id;

    /**
     * 入库单号
     */
    private String receiptOrder;

    /**
     * 商品唯一编码
     */
    @NotNull(message = "商品sku不能为空")
    private String proSku;

    /**
     * 入库批次
     */
    private String batchNo;

    /**
     * 入库批次价格
     */
    @NotNull(message = "入库批次价格不能为空")
    private BigDecimal batchPrice;

    /**
     * 生产批次号
     */
    private String pBatchNo;

    /**
     * 商品图
     */
    private String proMainImg;

    /**
     * 商品货号
     */
    private String proNum;

    /**
     * 商品分类编码
     */
    @NotNull(message = "商品分类编码不能为空")
    private String proCategoryId;

    /**
     * 商品分类名称
     */
    private String proCategoryName;

    /**
     * 商品名称
     */
    private String proName;

    /**
     * 商品单位
     */
    private String proUnit;

    /**
     * 规格值
     */
    private String proSepcValue;

    /**
     * 规格名
     */
    private String proSpecName;

    /**
     * 计量方式 1 重量  2 数量
     */
    private Integer proPricingType;

    /**
     * 本次入库数
     */
    @NotNull(message = "本次入库数不能为空")
    private BigDecimal currentInNum;
    /**
     * 计划入库数  用户采购单对应的商品采购数量
     */
    private BigDecimal planInNum;

    private Date createDate;

    private String createUser;

    private Date modifyDate;

    private String modifyUser;

    /**
     * 版本号
     */
    private Integer version;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否是冻品 1：是 2：否  表设计中没有，用于数据的存储和查询
     */
    private Integer frozenFlag;


    private static final long serialVersionUID = 1L;

    public Integer getFrozenFlag() {
        return frozenFlag;
    }

    public void setFrozenFlag(Integer frozenFlag) {
        this.frozenFlag = frozenFlag;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getReceiptOrder() {
        return receiptOrder;
    }

    public void setReceiptOrder(String receiptOrder) {
        this.receiptOrder = receiptOrder;
    }

    public String getProSku() {
        return proSku;
    }

    public void setProSku(String proSku) {
        this.proSku = proSku;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public BigDecimal getBatchPrice() {
        return batchPrice;
    }

    public void setBatchPrice(BigDecimal batchPrice) {
        this.batchPrice = batchPrice;
    }

    public String getpBatchNo() {
        return pBatchNo;
    }

    public void setpBatchNo(String pBatchNo) {
        this.pBatchNo = pBatchNo;
    }

    public String getProMainImg() {
        return proMainImg;
    }

    public void setProMainImg(String proMainImg) {
        this.proMainImg = proMainImg;
    }

    public String getProNum() {
        return proNum;
    }

    public void setProNum(String proNum) {
        this.proNum = proNum;
    }

    public String getProCategoryId() {
        return proCategoryId;
    }

    public void setProCategoryId(String proCategoryId) {
        this.proCategoryId = proCategoryId;
    }

    public String getProCategoryName() {
        return proCategoryName;
    }

    public void setProCategoryName(String proCategoryName) {
        this.proCategoryName = proCategoryName;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getProUnit() {
        return proUnit;
    }

    public void setProUnit(String proUnit) {
        this.proUnit = proUnit;
    }

    public String getProSepcValue() {
        return proSepcValue;
    }

    public void setProSepcValue(String proSepcValue) {
        this.proSepcValue = proSepcValue;
    }

    public String getProSpecName() {
        return proSpecName;
    }

    public void setProSpecName(String proSpecName) {
        this.proSpecName = proSpecName;
    }

    public Integer getProPricingType() {
        return proPricingType;
    }

    public void setProPricingType(Integer proPricingType) {
        this.proPricingType = proPricingType;
    }

    public BigDecimal getCurrentInNum() {
        return currentInNum;
    }

    public void setCurrentInNum(BigDecimal currentInNum) {
        this.currentInNum = currentInNum;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(String modifyUser) {
        this.modifyUser = modifyUser;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * @return the planInNum
     */

    public BigDecimal getPlanInNum() {

        return planInNum;
    }

    /**
     * @param planInNum the planInNum to set
     */

    public void setPlanInNum(BigDecimal planInNum) {

        this.planInNum = planInNum;
    }

}